﻿using System.ComponentModel;
using RaytracerLib;

namespace Raytracer.PropertyGridDecorators
{
    public class SceneProperties
    {
        private Scene m_scene;

        public SceneProperties(Scene a_scene)
        {
            m_scene = a_scene;
        }

        [Category(Categories.PROPERTIES)]
        public string Name
        {
            get
            {
                return m_scene.Name;
            }
            set
            {
                m_scene.Name = value;
            }
        }
    }
}